/* 邮箱登录页面样式 - 基于travel登录页面设计 */

.mobileLoginContainer {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 背景图片层 */
.backgroundLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.backgroundImage {
  object-fit: cover;
}

/* 蓝色遮罩层 */
.backgroundOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0049AA;
  opacity: 0.7;
  backdrop-filter: blur(2px);
}

/* 主要内容 */
.mobileContent {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 40px 20px 20px;
  color: white;
}

/* 头部标题 */
.mobileHeader {
  text-align: left;
  margin-bottom: 20px;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease-out;
}

.appTitle {
  font-family: 'PingFangSC-Regular', sans-serif;
  font-style: normal;
  font-size: 24pt;
  font-weight: normal;
  margin: 0 0 10px 0;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.appSubtitle {
  font-family: 'PingFangSC-Regular', sans-serif;
  font-style: normal;
  font-size: 16pt;
  font-weight: normal;
  margin: 0;
  color: #FFFFFF;
}

/* 步骤指示器 */
.stepsContainer {
  margin: 20px 0;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.stepActive {
  opacity: 1;
}

.stepNumber {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.stepActive .stepNumber {
  background: #FFFFFF;
  color: #0049AA;
  border-color: #FFFFFF;
}

.stepText {
  font-size: 12px;
  color: #FFFFFF;
}

/* 表单容器 */
.mobileFormContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 350px;
  margin: 0 auto;
  width: 100%;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.stepContent {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stepTitle {
  font-size: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
}

.stepDescription {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin: 0;
}

.inputWrapper {
  position: relative;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  padding: 0 20px;
  transition: all 0.3s ease;
}

.inputWrapper:focus-within {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.inputIconImg {
  margin-right: 15px;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.mobileInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 16px;
  padding: 18px 0;
  font-family: 'PingFangSC-Regular', sans-serif;
}

.mobileInput::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.mobileInput:focus {
  color: #FFFFFF;
}

/* 按钮样式 */
.mobileLoginBtn {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'PingFangSC-Regular', sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mobileLoginBtn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mobileLoginBtn:active {
  transform: translateY(0);
}

.mobileLoginBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.buttonGroup {
  display: flex;
  gap: 15px;
}

.backBtn {
  flex: 1;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'PingFangSC-Regular', sans-serif;
}

.backBtn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* 滑块验证 */
.sliderContainer {
  margin: 20px 0;
}

.sliderLabel {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
}

.slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* 底部 */
.mobileFooter {
  text-align: center;
  margin-top: auto;
  padding-top: 20px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.mobileFooter p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 5px 0;
}

.linkText {
  color: #FFFFFF;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 5px;
}

.linkText:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* 消息提示 */
.message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 12px 24px;
  border-radius: 8px;
  color: #FFFFFF;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.3s ease-out;
}

.success {
  background: linear-gradient(135deg, #4CAF50, #45a049);
}

.error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
}

.info {
  background: linear-gradient(135deg, #2196F3, #1976D2);
}

/* 弹窗样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.modalContent {
  background: #FFFFFF;
  border-radius: 12px;
  max-width: 350px;
  width: 90%;
  overflow: hidden;
  animation: scaleIn 0.3s ease-out;
}

.modalHeader {
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #FFFFFF;
}

.modalHeader h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.modalBody {
  padding: 30px 20px;
  text-align: center;
}

.modalBody p {
  color: #666;
  margin: 10px 0;
  line-height: 1.5;
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 响应式设计 */
@media (max-width: 480px) {
  .mobileContent {
    padding: 20px 15px;
  }
  
  .mobileHeader {
    margin-top: 40px;
  }
  
  .appTitle {
    font-size: 20pt;
  }
  
  .appSubtitle {
    font-size: 14pt;
  }
  
  .steps {
    gap: 30px;
  }
  
  .stepNumber {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  
  .stepText {
    font-size: 11px;
  }
}